
.cover-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2.5rem auto;
  flex-wrap: wrap;
  z-index: 2;
}

.soon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.discography-list {
  list-style: none;
  padding: 0;
}

.album-item {
  margin-bottom: 15px;
}
.cover-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2.5rem auto;
  flex-wrap: wrap;
  z-index: 2;
}

.disc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.disc-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 0 4px rgb(143, 255, 253);
  text-align: center;
  z-index: 50;
  pointer-events: none;
}

.disc-title-info {
  font-size: 0.7rem;
  font-weight: 300;
  opacity: 0.75;
  text-align: center;
  z-index: 50;
  pointer-events: none;
}

.disc-wrapper {
  position: relative;
  display: inline-block;
  overflow: visible;
  /* allow disc to slide out */
  align-items: center;
  margin-bottom: 18px;
}

.cover-img {
  max-width: 150px;
  display: block;
  position: relative;
  z-index: 10;
}


/* Disc initially hidden to the right */
.disc-img {
  position: absolute;
  top: 50%;
  left: 100%;
  /* start at right edge of cover */
  transform: translate(0, -50%) translateX(-150px);
  /* slightly off-screen */
  width: 200px;
  /* adjust size to taste */
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  /* stays behind the cover, above the page */
  transition:
    transform 0.3s ease-out,
    opacity 0.3s ease-out;
}

/* On hover: slide disc in */
.disc-wrapper:hover .disc-img {
  opacity: 1;
  animation: discFlash 1.4s ease-out;
  transform: translate(0, -50%) translateX(-60px) scale(1.25) rotate(360deg);
}

/* --- OVERLAY CONTAINER (your original styling preserved) --- */
.soon-overlay {
  position: absolute;
  padding: 10px;
  background: rgba(0, 220, 255, 0.55);
  color: #ffffff;
  font-family: 'Audiowide', sans-serif;
  font-size: 0.75rem;
  text-align: center;
  letter-spacing: 1px;
  transform: rotate(-30deg);
  /* your diagonal aesthetic */
  box-shadow: 0 0 12px rgb(143, 255, 253);
  width: 45%;
  height: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: 0;
  left: 25%;
  z-index: 999;

  /* Needed for 3D flip */
  perspective: 800px;
  pointer-events: none;

  /* IMPORTANT: allow the whole overlay to animate */
  transition: transform 0.6s ease, background 0.3s ease;
}

/* --- NEW: INNER WRAPPER TO PREVENT DARKENING --- */
.soon-overlay .flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

/* --- FACES --- */
.soon-overlay .overlay-front,
.soon-overlay .overlay-back {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Prevent darkening / shading */
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  transform-style: preserve-3d;
  mix-blend-mode: normal;
  filter: none;

  /* Keep your chosen text styling */
  color: inherit;
  letter-spacing: inherit;
  font-family: inherit;
  font-size: inherit;
}

/* Default orientation */
.soon-overlay .overlay-front {
  transform: rotateX(0deg);
}

.soon-overlay .overlay-back {
  transform: rotateX(180deg);
}


/* --- FLIP ON HOVER (COMING SOON) --- */
.disc-item.coming-soon .disc-wrapper:hover .soon-overlay .flip-inner {
  transform: rotateX(180deg);
}

/* --- FLIP ON HOVER (NEW RELEASE) --- */
.disc-item.new-release .disc-wrapper:hover .soon-overlay .flip-inner {
  transform: rotateX(180deg);
}

/* Grow + turn red (APPLIED TO THE WHOLE OVERLAY) */
.disc-item.new-release .disc-wrapper:hover .soon-overlay {
  transform: rotate(-30deg) scale(1.2);
  /* keep diagonal + grow */
  background: #ff0033cc;
  /* red */
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 2px;
}

.disc-item.coming-soon .disc-wrapper:hover .soon-overlay {
  /* keep diagonal + grow */
  background: #005effcc;
  /* red */
  color: #ffffff;
  letter-spacing: 2px;
}

/* --- COLOR THEMES FOR STATES (your choices preserved) --- */
.disc-item.new-release .soon-overlay {
  background: #00e1ffa0;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 2px;
}

.disc-item.coming-soon .soon-overlay {
  background: #00e1ffa0;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 2px;
}

/* --- ALLOW HOVER EVEN THOUGH LINK IS DISABLED --- */
.disc-item.coming-soon .disc-wrapper {
  pointer-events: none;
  cursor: default;
}

.disc-item.coming-soon .disc-wrapper * {
  pointer-events: auto;
}

.disc-item.new-release .soon-overlay {
  background: #00e1ffa0;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 2px;
}

.disc-item.coming-soon .soon-overlay {
  background: #00e1ffa0;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 2px;
}

.disc-item.coming-soon .disc-wrapper {
  pointer-events: none;
  /* disables the link */
  cursor: default;
}

.disc-item.coming-soon .disc-wrapper * {
  pointer-events: auto;
  /* re-enable hover for children - hence the * before the { */
}

.disc-item.coming-soon .disc-img {
  transform: translate(0, -50%) translateX(-150px) !important;
  opacity: 0 !important;
}

.disc-item.coming-soon .cover-img {
  filter: grayscale(40%) brightness(0.8);
}

.disc-wrapper:hover {
  z-index: 999;
}

.disc-img:hover {
  z-index: 900;
}